/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.principles.CRP.violateCRP.config;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.principles.CRP.violateCRP.violateCRP.IviolateCRP;
import za.ac.cput.principles.CRP.violateCRP.violateCRP.impl.Animal;
/**
 *
 * @author Dwayne
 */
@Configurable
public class AppConfig 
{
     @Bean(name = "CRP")
    public IviolateCRP IviolateCRP() 
    {
        return new Animal();
    }

    @Bean
    public IviolateCRP newCRP() 
    {
        return new Animal();
    }

    @Bean(name = "NCRP")
    public IviolateCRP Animal()
    {
        return new Animal();
    }
}
